On Windows 10, go to Settings > Update & security > Advanced options. Ensure that “Show a notification when your PC requires a restart to finish ...
Windows Settings: Go to Settings > Update & Security > Windows Update > Advanced options, pause updates, and turn off Automatically restart . Group Policy: Run gpedit. msc, navigate to Computer Configuration > Administrative Templates